package com.zlsy.thread.singleton;

/**
 * @author zhouliang
 * @date 2020/5/8 20:39
 * <p>
 * 饿汉式（静态常量）-可用
 */
public class Singleton1 {

    private final static Singleton1 INSTANCE = new Singleton1();

    private Singleton1() {
    }

    public static Singleton1 getInstance() {
        return INSTANCE;
    }
}
